home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wayzata's Best of Shareware PC/Windows 1
/
Wayzata's Best of Shareware for PC-Windows - Release 1 - Wayzata Technology (1993).iso
/
mac
/
DOS
/
NETWORKS
/
AMSMNU15
/
LITLOGIN.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-10-01
|
2KB
|
60 lines
: Remove these two REM commands when everything is working OK.
: @Echo Off
: To help in the configuration of this file, we suggest you list it to the
: printer, use COPY LITLOGIN.BAT LPT1
: This is a sample batch file for use with Netware Lite. This file should be
: used on the server, as a common Login batch file. It is intended for use
: by people unfamiliar with networking, and for those attempting to
: establish a single main FileServer network, although the concepts may be
: useful to more experienced networkers. The file should be placed in the
: PUBLIC directory on your server. [PUBLIC directories are discussed in
: Quick Start for Netware Lite Users].
: This command maps drive F: to your main server, and the network directory
: CDRIVE. If you don't have a network directory called CDRIVE, change it to
: a network directory. This drive should be mapped to the disk on your server
: which has the User Login Script files.
NET MAP F: CDRIVE
: Map some more directories here ... Again change CDRIVE if necessary.
NET MAP G: CDRIVE
NET MAP H: CDRIVE
NET MAP I: CDRIVE
: Drive M: should be mapped to the area on your server which has the Netware
: lite files
NET MAP M: CDRIVE
CD M:\NWLITE
: If you recieve an error message when you try to map any of these drives,
: it is most likely because the parameter LASTDRIVE has not been set
: correctly in the CONFIG.SYS file on the computer which displayed the
: error message. Refer to your DOS manual, and set this to LASTDRIVE=M
: Then reboot your computer (Changes in CONFIG.SYS do not become active
: until it is rebooted).
: Now add drives L: and M: to your search path as "Search" drives.
Set P=%PATH%
SET PATH=%P%;L:.;M:.
Set P=
: Set up default print queues for all users.
: Change NetPrint to the name of your network printer (If Available).
: You can capture other printers to LPT2 & LPT3 here if required.
Net Capture LPT1 NetPrint B=N F=N
: ^ Redirect LPT1
: ^ Don't Print a banner page
: ^ Don't formfeed a page after a print
: Synchronize the client's PC time with that of the Server.
NET TIME
: Now run userpath to run each user's individual login scripts. The last
: command in each users login script ought to load AMS.
: If users don't have write rights to the PUBLIC directory, add a directory
: path which they do have write rights to, after UserPath, eg UserPath F:
UserPath